﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpDiary.Core.Controls
{
    public class CloseButton: ImageButton
    {
        public CloseButton() { this.Size = new System.Drawing.Size(14, 14); }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CloseButton));
            this.SuspendLayout();
            // 
            // CloseButton
            // 
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.ImageOnMouseDown = ((System.Drawing.Image)(resources.GetObject("$this.ImageOnMouseDown")));
            this.ImageOnMouseEnter = ((System.Drawing.Image)(resources.GetObject("$this.ImageOnMouseEnter")));
            this.ImageOnNormal = ((System.Drawing.Image)(resources.GetObject("$this.ImageOnNormal")));
            this.Name = "CloseButton";
            this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.Size = new System.Drawing.Size(14, 14);
            this.ResumeLayout(false);

        }
    }
}
